package Box2D.Collision.Shapes
{
	import Box2D.Common.Math.b2Vec2;

	public class b2EdgeShape extends b2Shape
	{
		private var _vertex1:b2Vec2;
		private var _vertex2:b2Vec2;
		public function b2EdgeShape()
		{
			super(callDirect('b2EdgeShape_new'));
			_vertex1 = new b2Vec2(0,0,_wrapper+12);
			_vertex2 = new b2Vec2(0,0,_wrapper+20);
		}
		public function Set(v1:b2Vec2,v2:b2Vec2):void{
			call('b2EdgeShape_Set',v1.wrapper,v2.wrapper);
		}		
		public function get vertex1():b2Vec2{return _vertex1}
		public function get vertex2():b2Vec2{return _vertex2}
	}
}